package com.ccb.sc.common.modules.live.vo;

import com.ccb.sc.common.modules.live.enums.LiveStreamingGoodsStatus;
import com.ccb.sc.common.modules.live.enums.OfferCategory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author ken
 * @version 1.0
 * @date 2022/8/9 0:28
 */
@Data
@ApiModel("直播商品列表")
public class LiveStreamingGoodsListVo {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("直播id")
    private Long liveId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品图")
    private String goodsPicture;

    @ApiModelProperty("产品分类")
    private Long categoryId;

    @ApiModelProperty("产品分类名称")
    private String categoryName;

    @ApiModelProperty("offer分类 1买送正装 2买送同款 3买送很多 4直接减钱 5买送正能量")
    private OfferCategory offerCategory;

    @ApiModelProperty("是否跨店满减")
    private Boolean crossStoreFullReduction;

    @ApiModelProperty("预约人数")
    private Integer reservations;

    @ApiModelProperty("状态 0未生效 1未开播 2已开播")
    private LiveStreamingGoodsStatus status;

    @ApiModelProperty("赠品列表")
    private List<LiveStreamingGoodsFreebieVo> freebieGoods;

    @ApiModelProperty("是否预约")
    private Boolean reserve;
}
